<html>
<head><meta charset="utf-8"><title>Code assists part of language-server or vs code specific? · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Code.20assists.20part.20of.20language-server.20or.20vs.20code.20specific.3F.html">Code assists part of language-server or vs code specific?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="198999264"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Code%20assists%20part%20of%20language-server%20or%20vs%20code%20specific%3F/near/198999264" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> osa1 <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Code.20assists.20part.20of.20language-server.20or.20vs.20code.20specific.3F.html#198999264">(May 28 2020 at 09:18)</a>:</h4>
<p>Sorry for user question -- I think we don't have a user discussion forum so using this stream instead. I'm wondering if code assists that rust-analyzer provides are a vs code specific feature, or standard in language-server. I looked at language-server protocol specification, but couldn't see anything related.</p>



<a name="198999379"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Code%20assists%20part%20of%20language-server%20or%20vs%20code%20specific%3F/near/198999379" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Code.20assists.20part.20of.20language-server.20or.20vs.20code.20specific.3F.html#198999379">(May 28 2020 at 09:20)</a>:</h4>
<p>We actually have one since yesterday: <a href="https://github.com/rust-analyzer/rust-analyzer/pull/4646/files">https://github.com/rust-analyzer/rust-analyzer/pull/4646/files</a> :)</p>



<a name="198999398"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Code%20assists%20part%20of%20language-server%20or%20vs%20code%20specific%3F/near/198999398" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Code.20assists.20part.20of.20language-server.20or.20vs.20code.20specific.3F.html#198999398">(May 28 2020 at 09:20)</a>:</h4>
<p>Assists are in LSP (though we implement a couple of extensions on top)</p>



<a name="198999421"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Code%20assists%20part%20of%20language-server%20or%20vs%20code%20specific%3F/near/198999421" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Code.20assists.20part.20of.20language-server.20or.20vs.20code.20specific.3F.html#198999421">(May 28 2020 at 09:20)</a>:</h4>
<p><a href="https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_codeAction">https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_codeAction</a></p>



<a name="198999427"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Code%20assists%20part%20of%20language-server%20or%20vs%20code%20specific%3F/near/198999427" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> osa1 <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Code.20assists.20part.20of.20language-server.20or.20vs.20code.20specific.3F.html#198999427">(May 28 2020 at 09:20)</a>:</h4>
<p><span class="user-mention silent" data-user-id="133169">matklad</span> <a href="#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Code.20assists.20part.20of.20language-server.20or.20vs.20code.20specific.3F/near/198999379">said</a>:</p>
<blockquote>
<p>We actually have one since yesterday: <a href="https://github.com/rust-analyzer/rust-analyzer/pull/4646/files">https://github.com/rust-analyzer/rust-analyzer/pull/4646/files</a> :)</p>
</blockquote>
<p>Ahh, great! I'll ask my user questions there, thanks!</p>



<a name="198999447"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Code%20assists%20part%20of%20language-server%20or%20vs%20code%20specific%3F/near/198999447" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> osa1 <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Code.20assists.20part.20of.20language-server.20or.20vs.20code.20specific.3F.html#198999447">(May 28 2020 at 09:21)</a>:</h4>
<p><span class="user-mention silent" data-user-id="133169">matklad</span> <a href="#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Code.20assists.20part.20of.20language-server.20or.20vs.20code.20specific.3F/near/198999421">said</a>:</p>
<blockquote>
<p><a href="https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_codeAction">https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_codeAction</a></p>
</blockquote>
<p>Thank you!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>